(mode_line_string_list, mode_line_string_face)
authorKim F. Storm <storm@cua.dk>
Thu, 27 Jun 2002 20:42:35 +0000 (20:42 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 27 Jun 2002 20:42:35 +0000 (20:42 +0000)
commitf100c00be11cbfaf84376e1267fb74ec0f111f19
treeb0cba6face39555f2c6d2c3331dff2e950e791e6
parente531b93b810d610093b131ec442ff27d34401c38
(mode_line_string_list, mode_line_string_face)
(mode_line_string_face_prop): New variables.
(store_mode_line_string): New function.
(display_mode_element): Use store_mode_line_string to
add mode-line string elements to mode_line_string_list
when mode_line_string_list is non-nil.
(Fformat_mode_line): Now returns propertized string by
default.  New arg NO-PROPS to ignore properties.
(decode_mode_spec): Only add two dashes for %- in propertized
mode-line string.
(syms_of_xdisp): Init and staticpro mode_line_string_list.
src/xdisp.c